package com.itheima.service;

import com.itheima.entity.Emp;
import com.itheima.entity.EmpLoginInfo;
import com.itheima.entity.EmpQueryParam;
import com.itheima.entity.PageBean;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.util.List;

public interface EmpService {
    //分页查询
    PageBean page(EmpQueryParam param);

    void save(Emp emp) throws Exception;


    void delete(List<Integer> ids);

    Emp getById(Integer id);

    void update(Emp emp);

    EmpLoginInfo login(Emp emp);
}
